package com.msb.sometest;

/**
 * @Auther： WangLei
 * @Date： 2021/8/12-08-12-23:21
 * @Description: com.msb
 * @version: 1.0
 */
public class CompareTest implements Comparable<CompareTest> {

    int a = 0;
    public CompareTest(int a){
        this.a = a;
    }

    @Override
    public int compareTo(CompareTest o) {
        return this.a - o.a;
    }
}
